Build Book
============

This book are saved in reStructuredText format and can be easy transormed to PDF or HTML format.
For this purposes the Python Sphinx library is used.
The following additional package should be installed

For Ubuntu (22.04)
-------

* Python3 (Cuurent version that is used 3.10.12)
* python3-sphinx  (sudo apt-get install python3-sphinx)
* latexmk  (sudo apt-get install latexmk)
* texlive-latex-extra (sudo apt install texlive-latex-extra)
* texlive-lang-cyrillic (sudo apt-get install texlive-lang-cyrillic)

Book can build via script build-book.sh

.. code-block:: console

     ./build-book.sh --help
    usage: ./build-book.sh options
    This script build Programming in D in PDF and HTML format.
    OPTIONS:
    -f | --format	output format PDF or HTML or ALL
    -d | --dir	    output folder for build artefact
    -h	Print this text
    build_book -fpdf

